#ifndef ELSHAPEO_H
#define ELSHAPEO_H
#include "ELAbstractShape.h"

class ELShapeO : public ELAbstractShape
{
public:
    ELShapeO(bool ** tableState, QColor *** tableColors, int numBlockVertical, int numBlockHorizontal);
    ~ELShapeO();
    bool prepare();

    bool moveLeft();
    bool moveRight();
    bool moveDown();
    bool rotate();
    void moveToBottom();

    bool canMoveLeft();
    bool canMoveRight();
    bool canMoveDown();
    bool canRotate();

    void setLayout();
    void reset();
    int height();
    void setState(int newState);
    void printTableState();
};

#endif // ELSHAPEO_H
